//
//  MSPopupEntity.h
//  MSPopupsManager
//
//  Created by zz on 22.4.24.
//

#import <Foundation/Foundation.h>
#import "MSPopupBackgroundView.h"
#import "MSPopupConfigure.h"
#import "MSPopupProtocol.h"

NS_ASSUME_NONNULL_BEGIN

@class  MSPopupManager;
@interface MSPopupEntity : NSObject
/// 弹窗内容对象
@property (nonatomic, strong) id<MSPopupProtocol> popupObj;
/// 弹窗背景
@property (nonatomic, strong) MSPopupBackgroundView *popupBgView;
/// 弹窗的配置
@property (nonatomic, strong) MSPopupConfigure *config;


- (void)startCountTime;
- (void)closeTimer;
- (UIView *)contentView;

//给自定义的弹窗内容设置圆角
- (void)setupCustomViewCorners;

//添加相关手势
- (void)addGestureRecognizer;

@end

NS_ASSUME_NONNULL_END
